//Michele Gregori 2009 miclegr@gmail.com

#ifndef DUALQUATERNIONCMD_H
#define DUALQUATERNIONCMD_H

#include<maya/MPxCommand.h>
#include<maya/MDGModifier.h>
#include<maya/MSelectionList.h>
#include<maya/MGlobal.h>
#include<maya/MObject.h>
#include<maya/MFnDependencyNode.h>
#include<maya/MPlug.h>
#include<maya/MPlugArray.h>
#include<maya/MObjectHandle.h>
#include<maya/MFnDagNode.h>

class dqDeformerCmd : public MPxCommand{
	public:
	dqDeformerCmd():sel(){};
	MStatus doIt(const MArgList &arg);
	MStatus undoIt();
	MStatus redoIt();
	bool isUndoable()const{return true;};
	static void *creator(){return new dqDeformerCmd;};
	
	private:
	MDGModifier *dgModCon,*dgModDisc,*dgModCreate;
	MSelectionList sel;
};

#endif
